package com.zua.mapper;

import com.zua.entity.Order;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface OrderMapper {
    List<Order> selectAll(@Param("pageNum")int pageNum, @Param("pageSize")int pageSize);
    List<Order> selectByUserId(int userId);
    Order selectById(int id);
    void deleteById(int id);
    void insertOrder(Order order);
    void updateOrder(Order order);
    void payOrder(int id);
    void finishOrder(int id);
}
